import React from 'react'
import { Link } from "react-router-dom";

// 改变url但内容不变
export default function App() {
  return (
    <div>
      <h2>hello router</h2>
      <Link to="/about">About</Link>&nbsp;|&nbsp;
      <Link to="/home">home</Link>
    </div>
  )
}
